package org.spitter.core.dao;

import java.util.List;

import org.spitter.core.model.BaseEntity;


public interface EntityJpaDao<T extends BaseEntity> {

	T findOne(final Long id);

	List<T> findAll();

	Long save(final T entity);

	void update(final T entity);

	void delete(final T entity);

	void deleteById(final Long entityId);

}